//
//  NumberCollectionViewCell.m
//  Choice
//
//  Created by A-01 on 2020/6/16.
//  Copyright © 2020 Mac. All rights reserved.
//

#import "NumberCollectionViewCell.h"

@implementation NumberCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self) {
        //设置控件
        [self setupUI];
    }
    
    return self;
}


- (void)setupUI{
    
    self.backgroundColor = [UIColor colorWithHexString:@"32AEFF"];
    
    UILabel * numberLab = [[UILabel alloc] initWithFrame:self.bounds];
    
    numberLab.textColor = ZRBlackColor;
    numberLab.textAlignment = NSTextAlignmentCenter;
    numberLab.font = [UIFont boldSystemFontOfSize:15];
    
    self.numberLab = numberLab;
    
    [self.contentView addSubview:self.numberLab];
}

@end
